import { InputType } from '@/utils';

export const searchConfig: PageConfig = {
    items: [
        {
            itemType: 'text',
            modelKey: 'workshopName',
            elInputProps: {
                placeholder: '请输入车间名称'
            },
            columnProps: {
                label: '车间名称'
            }
        },
        {
            itemType: 'text',
            modelKey: 'processCode',
            elInputProps: {
                placeholder: '请输入工序编码'
            },
            columnProps: {
                label: '工序编码'
            },
            validFormatType: InputType.NUMERIC_ALPHABET_SYMBOLS
        },

        {
            itemType: 'text',
            modelKey: 'processName',
            elInputProps: {
                placeholder: '请输入工序名称'
            },
            columnProps: {
                label: '工序名称'
            }
        },
        {
            itemType: 'text',
            modelKey: 'equipmentCode',
            elInputProps: {
                placeholder: '请输入设备编码'
            },
            columnProps: {
                label: '设备编码'
            },
            validFormatType: InputType.NUMERIC_ALPHABET_SYMBOLS
        },
        {
            itemType: 'text',
            modelKey: 'equipmentName',
            elInputProps: {
                placeholder: '请输入设备名称'
            },
            columnProps: {
                label: '设备名称'
            }
        },
        {
            itemType: 'text',
            modelKey: 'auxiliaryDataCoding',
            elInputProps: {
                placeholder: '请输入辅助资源编码'
            },
            columnProps: {
                label: '辅助资源编码'
            },
            validFormatType: InputType.NUMERIC_ALPHABET_SYMBOLS
        },
        {
            itemType: 'text',
            modelKey: 'auxiliaryDataName',
            elInputProps: {
                placeholder: '请输入辅助资源名称'
            },
            columnProps: {
                label: '辅助资源名称'
            }
        }
    ]
};
